package com.weharvest.edu.controller;

import com.weharvest.edu.dto.OrganizationDTO;
import com.weharvest.edu.service.OrganizationService;
import com.weharvest.edu.vo.ResultVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 组织管理
 */
@RestController("/organization")
public class OrganizationController {

    @Resource
    private OrganizationService organizationService;

    @PostMapping("/find")
    public ResultVo find(HttpServletRequest request, HttpServletResponse response,
                         @RequestBody OrganizationDTO organizationDTO) {
        return null;
    }
}
